gdk: Generate crossing events around touch devices' press/release
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 3 Dec 2011 14:11:08 +0000 (15:11 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 1 Mar 2012 21:25:21 +0000 (16:25 -0500)
commit8689921b90556008da9ba34326346fd6856c9d47
tree933b88a082a1cb9d50f5733b6f137014e9841844
parent9f4bfff1b030fffa0d815557ec690d208cb4cd67
gdk: Generate crossing events around touch devices' press/release

Anytime a touch device interacts, the crossing events generation
will change to a touch mode where only events with mode
GDK_CROSSING_TOUCH_BEGIN/END are handled, and those are sent
around touch begin/end. Those are virtual as the master
device may still stay on the window.

Whenever there is a switch of slave device (the user starts
using another non-touch device), a crossing event with mode
GDK_CROSSING_DEVICE_SWITCH may generated if needed, and the normal
crossing event handling is resumed.
gdk/gdkdisplay.c
gdk/gdkdisplayprivate.h
gdk/gdkevents.h
gdk/gdkwindow.c